package com.dragon.modules.yuegou.entity.coupon;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类<br>
 * 对应的表为：coup_coupon_scope_park<br>
 * 
 * @author pbuilder generated
 * @date 2019-03-29 10:58:22
 * @company sgy
 * @version 2.0
 */
@TableName("coup_coupon_scope_park")
public class CouponScopeParkEntity {

    /**  */
	protected String id;

    /** 优惠券模板ID */
	@ApiModelProperty("优惠券模板ID")
	protected String couponTemplateId;

    /** 停车场ID */
	@ApiModelProperty("停车场ID")
	protected String parkId;

	/**
	 * 构造一个空实体对象
	 */
	public CouponScopeParkEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个实体对象
	 * 
	 * @param other 其它对象
	 */
	public CouponScopeParkEntity(CouponScopeParkEntity other){
		super();
     	this.id = other.id;
     	this.couponTemplateId = other.couponTemplateId;
     	this.parkId = other.parkId;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取优惠券模板ID
	 * 
	 * @return couponTemplateId 优惠券模板ID
	 */
	public String getCouponTemplateId() {
		return couponTemplateId;
	}
  	
	/**
	 * 设置优惠券模板ID
	 * 
	 * @param couponTemplateId 优惠券模板ID
	 */
	public void setCouponTemplateId(String couponTemplateId) {
		this.couponTemplateId = couponTemplateId;
	}

	/**
	 * 获取停车场ID
	 * 
	 * @return parkId 停车场ID
	 */
	public String getParkId() {
		return parkId;
	}
  	
	/**
	 * 设置停车场ID
	 * 
	 * @param parkId 停车场ID
	 */
	public void setParkId(String parkId) {
		this.parkId = parkId;
	}

    public String toString() {
		return new StringBuilder().append("CouponScopeParkEntity{").
			append("id=").append(id).
			append(",couponTemplateId=").append(couponTemplateId).
			append(",parkId=").append(parkId).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public CouponScopeParkEntity copy() {
		return new CouponScopeParkEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /** 优惠券模板ID */
	public static final String COL_COUPON_TEMPLATE_ID = "coupon_template_id";

    /** 停车场ID */
	public static final String COL_PARK_ID = "park_id";
}
